#include "MasterNetServerPlugin.h"
#include "MasterNetServerModule.h"

#ifdef FG_DYNAMIC_PLUGIN

FG_EXPORT void DllStartPlugin(IPluginManager* pm)
{

    CREATE_PLUGIN(pm, MasterNetServerPlugin)

};

FG_EXPORT void DllStopPlugin(IPluginManager* pm)
{
    DESTROY_PLUGIN(pm, MasterNetServerPlugin)
};

#endif

const int FragrantGrass::MasterNetServerPlugin::GetPluginVersion()
{
    return 0;
}

const std::string FragrantGrass::MasterNetServerPlugin::GetPluginName()
{
	return GET_CLASS_NAME(MasterNetServerPlugin);
}

void FragrantGrass::MasterNetServerPlugin::Install()
{
    REGISTER_MODULE(m_pPluginManager, IMasterNetServerModule, MasterNetServerModule)
}

void FragrantGrass::MasterNetServerPlugin::Uninstall()
{
    UNREGISTER_MODULE(m_pPluginManager, IMasterNetServerModule, MasterNetServerModule)
}